#include "trap.h"
#include "inst_test.h"

    .set noat
    .globl main 
    .text

main:
    addi $at, $zero, 0x1          
    addi $v0, $zero, 0x5
BEFORE:
    beq $at, $v0, TARGET
    addi $at, $at, 0x1         
    jal BEFORE

TARGET:
    or $t1, $at, $v0
    HIT_GOOD_TRAP		#stop temu